$f: 19.2;
h1 {
  margin: 0;
  padding: 0;
}
*, *::after, *::before {
  box-sizing: border-box;
}
.section {
  padding: 186/$f+vw 0 160/$f+vw;
  .wrap {
    width: 1400/$f+vw;
    margin: 0 auto;
    &>h1 {
      font-size: 40/$f+vw;
      font-weight: 600;
      color: #000;
      line-height: 1;
      margin-bottom: 50/$f+vw;
    }
    form {
      display: flex;
      align-items: center;
      margin-bottom: 24/$f+vw;
      .input {
        width: 700/$f+vw;
        height: 48/$f+vw;
        border: 1/$f+vw solid rgba(0, 0, 0, 0.1);
        border-right: none;
        border-radius: 0 0 4/$f+vw 4/$f+vw;
        position: relative;
        img {
          position: absolute;
          left: 12/$f+vw;
          width: 20/$f+vw;
          height: 20/$f+vw;
          top: 50%;
          transform: translateY(-50%);
        }
        input {
          width: 100%;
          height: 100%;
          border: none;
          font-size: 16/$f+vw;
          font-weight: 400;
          color: #111;
          padding: 0 42/$f+vw;
          &::placeholder {
            color: #999999;
          }
        }
      }
      button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 96/$f+vw;
        height: 48/$f+vw;
        border-radius: 0 4/$f+vw 4/$f+vw 0;
        border: none;
        background: #1A53F0;
        font-size: 16/$f+vw;
        font-weight: 400;
        color: #fff;
      }
    }
    .hot {
      display: flex;
      align-items: center;
      margin-bottom: 40/$f+vw;
      h5 {
        font-size: 16/$f+vw;
        font-weight: 400;
        line-height: 22/$f+vw;
        margin-right: 32/$f+vw;
        color: #999999;
      }
      a {
        display: block;
        font-size: 16/$f+vw;
        font-weight: 400;
        color: #000;
        transition: 0.6s;
        &:not(:nth-last-child(1)) {
          margin-right: 32/$f+vw;
        }
        &:hover,&.on {
          color: #1A53F0;
        }
      }
    }
    .background{
      padding: 20/$f+vw;
      background: #F1F3F9;
      .flex_top{
        padding: 0 0 16/$f+vw;
        margin: 0 0 18/$f+vw;
        border-bottom: 1/$f+vw solid rgba(0, 0, 0, 0.10);
        display: flex;
        align-items: center;
        .l{
          width: 118/$f+vw;
          color: #000;
          font-size: 18/$f+vw;
          font-style: normal;
          font-weight: 500;
        }
        .dis{
          display: flex;
          align-items: center;
          gap: 0 30/$f+vw;
          .list{
            width: fit-content;
            padding: 0 23/$f+vw;
            height: 36/$f+vw;
            border-radius: 4/$f+vw;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #000;
            font-size: 16/$f+vw;
            font-style: normal;
            font-weight: 400;
            transition: .6s ease;
            cursor: pointer;
            &.on{
              background: #1A53F0;
              color: #fff;
            }
          }
        }
      }
      .flex{
        &:last-child{
          .dis{
          }
        }
        display: flex;
        &:not(:last-child) {
          margin: 0 0 18/$f+vw;
        }
        .l{
          width: 130/$f+vw;
          color: #000;
          font-size: 18/$f+vw;
          font-style: normal;
          font-weight: 500;
        }
        .dis{
          width: 100%;
          display: grid;
          padding: 0 100/$f+vw 0 0;
          grid-template-columns: repeat(8,1fr);
          gap: 15/$f+vw 35/$f+vw;
          .list{
            display: flex;
            align-items: center;
            cursor: pointer;
            &.on{
              .bor{
                background: #1A53F0;
                border: 1/$f+vw solid transparent;
                img{
                  opacity: 1;
                }
              }
            }
            .bor{
              width: 16/$f+vw;
              height: 16/$f+vw;
              border-radius: 4/$f+vw;
              border: 1/$f+vw solid #999;
              margin: 0 7/$f+vw 0 0;
              display: flex;
              align-items: center;
              justify-content: center;
              transition: .6s ease;
              img{
                width: 100%;
                height: 100%;
                opacity: 0;
                transition: .6s ease;
                object-fit: contain;
              }
            }
            p{
              color: #000;
              font-size: 16/$f+vw;
              font-style: normal;
              font-weight: 400;
              line-height: normal;
            }
          }
        }
      }
    }
    .sort{
      margin: 40/$f+vw 0 0 0;
      display: flex;
      align-items: center;
      .list{
        display: flex;
        align-items: center;
        padding: 0 16/$f+vw 0 0;
        margin: 0 16/$f+vw 0 0;
        border-right: 1/$f+vw solid rgba(0, 0, 0, 0.10);
        cursor: pointer;
        &.on{
          p{
            color: #1A53F0;
          }
        }
        p{
          color: #000;
          font-size: 16/$f+vw;
          font-style: normal;
          font-weight: 400;
          margin: 0 4/$f+vw 0 0;
          transition: .6s ease;
        }
        svg{
          width: 6/$f+vw;
          height: fit-content;
        }
      }
      .other{
        display: flex;
        gap: 0 16/$f+vw;
        .other_list{
          display: flex;
          align-items: center;
          cursor: pointer;
          &.on{
            .bor{
              background: #1A53F0;
              border: 1/$f+vw solid transparent;
              img{
                opacity: 1;
              }
            }
          }
          p{
            color: #000;
            font-size: 16/$f+vw;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
          }
          .bor{
            width: 16/$f+vw;
            height: 16/$f+vw;
            border-radius: 4/$f+vw;
            border: 1/$f+vw solid #999;
            margin: 0 7/$f+vw 0 0;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: .6s ease;
            img{
              width: 100%;
              height: 100%;
              opacity: 0;
              transition: .6s ease;
              object-fit: contain;
            }
          }
        }
      }
    }
    .content{
      display: flex;
      flex-wrap: wrap;
      gap: 60/$f+vw 40/$f+vw;
      margin: 70/$f+vw 0 0 0;

      .item{
        width: 440/$f+vw;
        position: relative;
        z-index: 1;
        &:hover{
          .img{
            img{
              transform: scale(1.05);
            }
          }
        }
        .img{
          width: 100%;
          height: 300/$f+vw;
          overflow: hidden;
          img{
            width: 100%;
            height: 100%;
            transition: .6s ease;
          }
        }
        .text{
          background: #F1F3F9;
          position: relative;
          padding: 65/$f+vw 20/$f+vw 40/$f+vw 20/$f+vw;
          z-index: 1;
          .circle{
            width: 90/$f+vw;
            height: 90/$f+vw;
            position: absolute;
            left: 20/$f+vw;
            top: -45/$f+vw;
            z-index: 1;
            img{
              width: 100%;
              height: 100%;
            }
          }
          h1{
            color: #000;
            font-size: 20/$f+vw;
            font-style: normal;
            font-weight: 500;
            line-height: normal;
            margin: 0 0 20/$f+vw;
          }
          .dis{
            display: flex;
            gap: 0 8/$f+vw;
            .list{
              height: 34/$f+vw;
              background: rgba(26, 83, 240, 0.10);
              width: fit-content;
              padding: 0 10/$f+vw;
              display: flex;
              align-items: center;
              justify-content: center;
              color: #1A53F0;
              font-size: 16/$f+vw;
              font-style: normal;
              font-weight: 300;
            }
          }
        }
      }
    }
  }
}

@media screen and (max-width: 1024px) {
  .section {
    padding: 100px 0 60px;
    .wrap {
      width: 90%;
      h1 {
        font-size: 24px;
        margin-bottom: 25px;
      }
      form {
        margin-bottom: 10px;
        .input {
          width: calc(100% - 35px);
          height: 35px;
          input {
            font-size: 16px;
            padding: 0 10px 0 30px;
          }
          img {
            width: 16px;
            height: 16px;
            left: 10px;
          }
        }
        button {
          height: 35px;
          width: 60px;
          font-size: 16px;
          border-radius: 0 5px 5px 0;
        }
      }
      .hot {
        flex-wrap: wrap;
        margin-bottom: 30px;
        h5 {
          font-size: 16px;
          line-height: normal;
          margin-right: 10px;
        }
        a {
          font-size: 14px;
          line-height: 2;
          margin-right: 10px !important;
        }
      }
      .background{
        padding: 20px 20px 10px;
        .flex_top{
          padding: 0 0 20px;
          flex-wrap: wrap;
          gap: 20px 0;
          margin: 0 0 20px;
          .l{
            font-size: 16px;
            line-height: normal;
            width: 90px;
          }
          .dis{
            gap: 0 15px;
            .list{
              height: 30px;
              padding: 0 15px;
              font-size: 12px;
              border-radius: 3px;
            }
          }
        }
        .flex{
          flex-direction: column;
          &:not(:last-child) {
            margin: 0 0 40px;
          }
          .l{
            font-size: 16px;
            line-height: normal;
            width: 120px;
            margin: 0 0 10px
          }
          .dis{
            gap: 15px 5px;
            width: 100%;
            grid-template-columns: repeat(3,1fr);
            margin: 10px 0 0 0;

            .list{

              .bor{
                width: 12px;
                height: 12px;
                border-radius: 3px;
                margin: 0 5px 0 0;
              }
              p{
                font-size: 12px;
              }
            }
          }
        }
      }
      .sort{
        margin: 35px 0;
        flex-wrap: wrap;
        gap: 20px 0;
        .list{
          margin: 0 15px 0 0;
          padding: 0 15px 0 0;
          p{
            font-size: 13px;
          }
        }
        .other{
          gap: 0 20px;
          .other_list{
            .bor{
              width: 12px;
              height: 12px;
              border-radius: 3px;
              margin: 0 5px 0 0;
            }
            p{
              font-size: 12px;
            }
          }
        }
      }
      .content{
        width: 100%;
        gap: 20px 0;
        margin: 15px 0 0 0;
        flex-direction: column;
        .item{
          width: 100%;
          .img{
            height: auto;
          }
          .text{
            padding: 20px 5% 20px 5%;
            .circle{
              width: 45px;
              height: 45px;
              position: static;
              margin: 0 0 20px;
            }
            h1{
              font-size: 18px;
              margin: 0 0 10px;
            }
            .dis{
              gap: 0 10px;
              .list{
                height: 30px;
                padding: 0 10px;
                font-size: 12px;
              }
            }
          }
        }
      }
    }
  }
}